package com.aispeech.asr.apis.detection.form;

import com.aispeech.asr.apis.detection.domain.Audio;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class DetectionForm {
    private String productId;
    private String requestId;
    private String modeType;
    private Audio audio;
    private long length;
    private long duration;
    
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    private boolean multiple = false;
    
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    private boolean debug = false;

}
